package com.youhome.service.mapper;

import com.youhome.service.model.HouseFavourite;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface HouseFavouriteMapper {
    int deleteByPrimaryKey(Long id);

    int insert(HouseFavourite record);

    int insertSelective(HouseFavourite record);

    HouseFavourite selectByPrimaryKey(Long id);

    HouseFavourite selectByHouseIdAndUserId(HouseFavourite record);

    int updateByPrimaryKeySelective(HouseFavourite record);

    int updateByPrimaryKey(HouseFavourite record);

    List<String> selectHouseIdByUserId(Long userId);
}